package com.example.ftp;

import com.example.ftp.View.MainWindow.MainWindow;
import com.example.ftp.View.SiteManage.SiteInfo;
import com.example.ftp.View.SiteManage.SiteList;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class HelloApplication extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        Scene scene = new Scene(MainWindow.getUIInstance(), 1000, 600);
        stage.setTitle("FTP 客户端");
        stage.setScene(scene);
        stage.show();

        //  SiteList.showSiteList();
        SiteInfo.showSiteList();



//        Scene scene = new Scene(MainWindow.getUIInstance());
//        stage.setScene(scene);
//        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}